package com.example.service;

import com.example.entity.retail.CommentRetail;
import com.example.entity.retail.PostRetail;
import com.example.entity.retail.UserRetail;
import com.example.entity.retail.dto.CommentPostRetailDTO;
import com.example.entity.retail.dto.DescPostRetailDTO;
import com.example.entity.retail.dto.ItemPostRetailDTO;
import com.example.entity.retail.dto.MainPostRetailDTO;
import org.springframework.stereotype.Service;

import java.util.List;


public interface RetailService {
    void add(PostRetail postRetail);
    List<MainPostRetailDTO> selectPostAll(String uid);
    void addComment(CommentRetail commentRetail);
    DescPostRetailDTO selectPostDescByUid(String retailUid);
    List<CommentPostRetailDTO> selectPostCommentByUid(String postItem);
    ItemPostRetailDTO selectPostItemByUid(String retailUid);
}
